﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeFile="ABMEmpresa.aspx.cs" Inherits="Intranet_ABMEmpresa" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="Server">
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <asp:MultiView ID="mvMain" runat="server" ActiveViewIndex="0">
                <asp:View ID="View1" runat="server">
                    <asp:LinkButton ID="cmdNuevo" runat="server" onclick="cmdNuevo_Click">Nueva Empresa</asp:LinkButton>
                    <br />
                    <asp:GridView ID="grd" runat="server" OnRowCommand="grd_RowCommand">
                        <Columns>
                            <asp:ButtonField CommandName="editar" Text="Editar" />
                        </Columns>
                    </asp:GridView>
                </asp:View>
                <asp:View ID="View2" runat="server">
                    <table border="0" cellpadding="0" cellspacing="0">
                        <tr>
                            <td colspan="2">
                                Editando datos de empresa
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Razon Social:
                               
                            </td>
                            <td>
                                <asp:TextBox ID="txtRazonSocial" runat="server"></asp:TextBox> 
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                                    ErrorMessage="RequiredFieldValidator" ControlToValidate="txtRazonSocial" 
                                    ValidationGroup="abm"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                CUIT:
                            </td>
                            <td>
                                <asp:TextBox ID="txtCUIL" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                Logo:
                            </td>
                            <td>
                                <asp:TextBox ID="txtLogo" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                            </td>
                            <td>
                                <asp:LinkButton ID="cmdAceptar" runat="server" OnClick="cmdAceptar_Click" 
                                    ValidationGroup="abm">Aceptar</asp:LinkButton>
                                &nbsp;
                                <asp:LinkButton ID="cmdCancelar" runat="server" OnClick="cmdCancelar_Click">Cancelar</asp:LinkButton>
                            </td>
                        </tr>
                    </table>
                </asp:View>
            </asp:MultiView>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
